﻿@model ShivamEMR.Web.Models.LogOnModel
@{
    ViewBag.Title = "Log On";
    Layout = "~/Views/Shared/_LayoutLogin.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div width="100%">

<table  border="0" style="border-left-width:10px;border-left-style:groove;border-left-color:inherit; padding:0px 0px 0px 120px;" cellpadding="5" cellspacing="0" align="center">
<tr><td colspan="2" valign="top">@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")</td></tr>
<tr>
 <td colspan="2" align="left">
     <h1>
       <legend>Sign In</legend>
     </h1>
 </td>

</tr>
<tr>
    <tr >
        <td>
            <img src="@Url.Content("~/images/login.png")" />
        </td>
        <td >
        @using (Html.BeginForm())
{
    
          
            <div class="editor-label">
                @Html.LabelFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>
            <div class="editor-label">
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>
            <p>
                <input type="submit" class="accent-bg" value="Log On" />
            </p>
       
}
        </td>
    </tr>
</table>

</div>

